package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.DaoLevelTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class UserPageVO {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("UUID")
    private String userUuid;

    @ApiModelProperty("链地址")
    private String chainAddr;

    @ApiModelProperty("积分余额")
    private BigDecimal integralNum;

    @ApiModelProperty("头像")
    private String avatarImg;

    @ApiModelProperty("背景")
    private String backGroundImg;

    @ApiModelProperty("特权等级")
    private Integer privilegeLevel;


    @ApiModelProperty("邀请链接")
    private String shareUrl;

    @ApiModelProperty("天河链浏览器")
    private String tianheChainBrowser;

    @ApiModelProperty("简介")
    private String briefIntroduction;

    @ApiModelProperty("自己关注的别人")
    private Integer subscribe;

    @ApiModelProperty("粉丝,别人关注自己")
    private Integer fans;

    @ApiModelProperty("等级")
    private DaoLevelTypeEnum level;
    @ApiModelProperty("绑定标记")
    private Boolean bindFlag;

    @ApiModelProperty("dao身份ICON")
    private String daoIdentityIcon;

    @ApiModelProperty("注册时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    @ApiModelProperty("是否允许退出共识区")
    private Boolean allowExitConsensus;
    @ApiModelProperty("是否是共识用户")
    private Boolean isConsensusUser;

    @ApiModelProperty("是否开启卷轴店铺")
    private Boolean openScrollShop;
}
